package com.ksm.zyz.common.util;

import com.ksm.zyz.common.base.Global;
import com.qiniu.storage.UploadManager;
import com.qiniu.util.Auth;

/**
 * 
 * @author frank
 *
 */
public class QiNiuUtil {

	public static String visitor_name = Global.getConfig("qiniu.visitor_name");
	public static String zhiliao_name = Global.getConfig("qiniu.zhiliao_name");
    public static String backService_name = Global.getConfig("qiniu.backService_name");
    
    public static String visitor_cdn = Global.getConfig("qiniu.visitro_cdn");
    public static String zhiliao_cdn = Global.getConfig("qiniu.zhiliao_cdn");
    public static String backService_cdn = Global.getConfig("qiniu.backService_cdn");

    private static String accesskey = Global.getConfig("qiniu.accesskey");
    private static String secretkey = Global.getConfig("qiniu.secretkey");
    public static Auth auth = Auth.create(accesskey, secretkey);
    public static UploadManager uploadManager = new UploadManager();


}
